#pragma once
#include "fxcc/core/graph/opengl3/pch.h"
#include "fxcc/core/graph/opengl3/Buffer.h"

namespace fxcc
{
	namespace graph
	{

		namespace opengl3
		{
			struct FXCC_API IndexBuffer :public fxcc::graph::opengl3::Buffer
			{
				IndexBuffer()
					:fxcc::graph::opengl3::Buffer(GL_ELEMENT_ARRAY_BUFFER)
				{

				}
				static void UnBind()
				{
					glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
				}

			};
		}
	};
};